package com.ruoyi.project.ledger.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 叉车检查项目对象 ledger_forklift_inspect
 * 
 * @author ruoyi
 * @date 2020-04-28
 */
public class LedgerForkliftInspect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站id */
    @Excel(name = "场站id")
    private Long stationId;

    private String stationName;

    private String checkMonth;

    private SysDept sysDept;

    private String[] imgs;

    private List<Map<String, Object>> imgList;

    /** 检查月份 */
    @Excel(name = "检查月份")
    @JsonFormat(pattern = "yyyy-MM")
    private Date month;

    /** 检查者(1-自检 2-第三方检查） */
    @Excel(name = "检查者(1-自检 2-第三方检查）")
    private String examiner;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setMonth(Date month)
    {
        this.month = month;
    }

    public Date getMonth()
    {
        return month;
    }
    public void setExaminer(String examiner) 
    {
        this.examiner = examiner;
    }

    public String getExaminer() 
    {
        return examiner;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public String getCheckMonth() {
        return checkMonth;
    }

    public void setCheckMonth(String checkMonth) {
        this.checkMonth = checkMonth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("month", getMonth())
            .append("examiner", getExaminer())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
